[INFO] cloning repository https://github.com/alice-xxxx/apm32-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alice-xxxx/apm32-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice-xxxx%2Fapm32-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice-xxxx%2Fapm32-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf9ffa3216e9f0c6b68024bb7581de7f41a37455
[INFO] checking alice-xxxx/apm32-rust against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falice-xxxx%2Fapm32-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/alice-xxxx/apm32-rust
[INFO] finished tweaking git repo https://github.com/alice-xxxx/apm32-rust
[INFO] tweaked toml for git repo https://github.com/alice-xxxx/apm32-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alice-xxxx/apm32-rust on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alice-xxxx/apm32-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7
[INFO] running `Command { std: "docker" "start" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling apm32f030-pac v0.1.0 (/opt/rustwide/workdir/apm32f030-pac)
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling my-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking apm32f030-hal v0.2.1 (/opt/rustwide/workdir/apm32f030-hal)
[INFO] [stdout] error[E0583]: file not found for module `uar`
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod uar;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `uar`, create file "src/uar.rs" or "src/uar/mod.rs"
[INFO] [stdout]   = note: if there is a `mod uar` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorType`, `InputPin`, `OutputPin`, and `StatefulOutputPin`
[INFO] [stdout]  --> src/app.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use embedded_hal::digital::{ErrorType, InputPin, OutputPin, PinState, StatefulOutputPin};
[INFO] [stdout]   |                             ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | / fn panic(_info: &core::panic::PanicInfo<'_>) -> ! {
[INFO] [stdout] 58 | |     fatal_error()
[INFO] [stdout] 59 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/40527f3e444fde1deb361751bdef9b9e11d1b971/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-453218b5e9634890.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`my_app`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-app` (bin "my-app" test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0583]: file not found for module `uar`
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod uar;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `uar`, create file "src/uar.rs" or "src/uar/mod.rs"
[INFO] [stdout]   = note: if there is a `mod uar` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorType`, `InputPin`, `OutputPin`, and `StatefulOutputPin`
[INFO] [stdout]  --> src/app.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use embedded_hal::digital::{ErrorType, InputPin, OutputPin, PinState, StatefulOutputPin};
[INFO] [stdout]   |                             ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cp`
[INFO] [stdout]  --> src/app.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     cp: cortex_m::Peripherals,
[INFO] [stdout]   |     ^^ help: if this is intentional, prefix it with an underscore: `_cp`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx_rx_switch`
[INFO] [stdout]   --> src/app.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let tx_rx_switch = gpioa.pa12.into_push_pull_output(PinState::High);
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_rx_switch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable_5v`
[INFO] [stdout]   --> src/app.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let enable_5v = gpiof.pf1.into_open_drain_output(PinState::Low);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_5v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut cp: cortex_m::Peripherals = match cortex_m::Peripherals::take() {
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of partially moved value: `cp`
[INFO] [stdout]   --> src/main.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let delay = Delay::new(cp.SYST, clocks.hclk().raw());
[INFO] [stdout]    |                            ------- value partially moved here
[INFO] [stdout] 46 |
[INFO] [stdout] 47 |     app::main(dp, cp, clocks, delay)
[INFO] [stdout]    |                   ^^ value used here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because `cp.SYST` has type `SYST`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-app` (bin "my-app") due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7", kill_on_drop: false }`
[INFO] [stdout] e6e8a843ae8039f8e096927469852b356eb0253c08987e0fb37b40908c95ffb7
